<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/base.jsp"%>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">

<title>慢性病报销列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/admin.js"></script>

</head>
<body>
	<form method="post" action="page/chronicdis/searchChronicdis_list.jsp"
		id="chronicdisForm">
		<div class="panel admin-panel">
			<div class="panel-head">
				<strong class="icon-reorder">慢性病报销信息列表</strong>
			</div>
			<div class="padding border-bottom">
				<ul class="search" style="padding-left:10px;">
					<li>搜索：</li>
					<li><input type="text" placeholder="请输入搜索关键字" name="illCode"
						class="input"
						style="width:250px; line-height:17px;display:inline-block"
						id="illCode" /> <a href="javascript:void(0)"
						class="button border-main icon-search"> 搜索</a></li>
				</ul>
			</div>
			<table class="table table-hover text-center">
				<tr>
					<th>序号</th>
					<th>报销编号</th>
					<th>姓名</th>
					<th>身份证号</th>
					<th>疾病名称</th>
					<th>住院费用</th>
					<th>报销金额</th>
					<th>年份</th>
					<th>报销时间</th>
					<th>操作</th>
				</tr>
				<%
					String pageNo = request.getParameter("pageNo");
					int p = pageNo == null ? 1 : Integer.parseInt(pageNo);
					ChronicPayDao dao = new ChronicPayDao();
					String sql = "select * from chronicpay where 1=1 ";
					Object[] params = {};
					Page pageBean = dao.queryOjectsByPage(sql, params, p,
							Constant.ROW);
				%>
				<%
					for (int i = 0; i < pageBean.getDatas().size(); i++) {

						ChronicPay  model= (ChronicPay) pageBean.getDatas().get(i);
				%>
				<tr>
					<td><%=(i+1) %></td>
					<td><%=model.getPayID()%></td>
					<td><%=model.getPersName() %></td>
					<td><%=model.getCardId() %></td>
					<td><%=model.getIllName()%></td>
					<td><%=model.getMoney() %></td>
					<td><%=model.getPayMoney() %></td>
					<td><%=model.getYear()%></td>
					<td><%=model.getPayTime()%></td>
				</tr>
				<%
					}
				%>
			</table>
		</div>
	</form>
</body>
</html>


